package com.shiro.service;

import java.util.List;

import com.shiro.pojo.AuthorityBean;
import com.shiro.pojo.RoleBean;
import com.shiro.pojo.UserBean;

public interface UserService {
	List<UserBean> findUserAll();
	UserBean findUserById(Integer id);
	UserBean login(String username,String password);
	UserBean findUserByUserName(String username);
	int addUser(UserBean user);
	int deleteUser(Integer id);
	int updateUser(UserBean user);
	List<RoleBean> findRoleByUsername(String username);
	List<AuthorityBean> findAuthorityByUsername(String username);
}
